﻿/*****************************************************
 * DocumentNotFoundException                         *
 * Made by Niklas Plüm (l4nm4n@users.sourceforge.net)*
 *****************************************************/

using System;

namespace VisualPureBasicIDE.CoreGUI.Exceptions
{
    /// <summary>
    /// The exception that is thrown, if the Document cannot be found in the Dictionary
    /// </summary>
    class DocumentNotFoundException : Exception
    {
        public DocumentNotFoundException(Document doc) : base("The document \"" + doc.Name + "\" could not be found") { }
        public DocumentNotFoundException(string name) : base("The document \"" + name + "\" could not be found") { }
    }
}